package com.leo.ibatis.demo.service;

import java.util.List;

import com.leo.ibatis.demo.criteria.InventoryCriteria;
import com.leo.ibatis.demo.domain.Inventory;

public interface InventoryService {

	void insert(Inventory inventory);

	int update(Inventory inventory);

	int delete(String itemid);
	
	Inventory select(String itemid);

	List<Inventory> list(InventoryCriteria inventoryCriteria);

	List<Inventory> listOnPage(InventoryCriteria inventoryCriteria);

}
